package com.cvic.se.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * InnoDB free: 4096 kB; (`MECH_ID`) REFER `work1/mechanism`(`MECH_ID`)
 * </p>
 *
 * @author liang
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Person implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("INST_ID")
    private String instId;//机构编号
    
    @TableField("INST_NAME")
    private String instName;//机构名称

    @TableId(value = "PER_ID", type = IdType.ASSIGN_ID)
    private int perId;//部门联系人编号

    @TableField("PER_NAME")
    private String perName;//部门联系人

    @TableField("PHONE")
    private String phone;//手机号码

    @TableField("WORK")
    private String work;//联系人职务

    @TableField("TEL")
    private String tel;//固定电话

    @TableField("FAX")
    private String fax;//传真

    @TableField("QQ")
    private String qq;//qq
    
    @TableField("WX")
    private String wx;//微信

    @TableField("POSTCODE")
    private String postcode;//邮政编码

    @TableField("WEB")
    private String web;//网址

    @TableField("Email")
    private String email;//邮箱

    @TableField("ADDR")
    private String addr;//通讯地址

    @TableField("NOTE")
    private String note;//备注
    
    @TableField("isDelete")
    @TableLogic
    private int isdelete;//逻辑删除(0是未删除，1是已删除)	

	public String getInstId() {
		return instId;
	}

	public void setInstId(String instId) {
		this.instId = instId;
	}

	public int getPerId() {
		return perId;
	}

	public void setPerId(int perId) {
		this.perId = perId;
	}

	public String getPerName() {
		return perName;
	}

	public void setPerName(String perName) {
		this.perName = perName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getWork() {
		return work;
	}

	public void setWork(String work) {
		this.work = work;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWx() {
		return wx;
	}

	public void setWx(String wx) {
		this.wx = wx;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getWeb() {
		return web;
	}

	public void setWeb(String web) {
		this.web = web;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(int isdelete) {
		this.isdelete = isdelete;
	}

	public String getInstName() {
		return instName;
	}

	public void setInstName(String instName) {
		this.instName = instName;
	}

	@Override
	public String toString() {
		return "Person [instId=" + instId + ", instName=" + instName + ", perId=" + perId + ", perName=" + perName
				+ ", phone=" + phone + ", work=" + work + ", tel=" + tel + ", fax=" + fax + ", qq=" + qq + ", wx=" + wx
				+ ", postcode=" + postcode + ", web=" + web + ", email=" + email + ", addr=" + addr + ", note=" + note
				+ "]";
	}
	
	


}
